<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="../css/re-lo.css">
    <title>注册</title>
</head>

<body>
    <div class="told" style="display: none;">
        <button id="toldClose">关闭</button>
        <p id="toTold">注册失败</p>
    </div>
    <div class="box">
        <h1>注 册</h1>
        账号：
        <input type="text" id="username" name="username" placeholder="含字母和数字8-16位"><span id="error" style="color: red;"></span>
        <div id="error_name" style="color: red;"></div>
        密码：
        <input type="password" id="password" name="password" placeholder="含字母和数字，8-16位">
        <div id="error_pwd" style="color: red;"></div>
        姓名：
        <input type="text" id="myname" name="myname" placeholder="英文大小写，4-30位">
        <div id="error_myname" style="color: red;"></div>
        电话：
        <input type="tel" id="phone" name="phone" placeholder="手机号码">
        <div id="error_phone" style="color: red;"></div>
        <input type="submit" id="register" name="register" value="注 册">
        <input type="submit" id="toLogin" name="toLogin" value="已注册？去登录" onclick="location.href='login.html'">
        <br>
        <button class='short'><a href="../views/index.html">游客登陆</a></button>
    </div>
    <script type="text/javascript" src="../js/register.js"></script>
</body>

</html>